package com.example.springbootsfzy.domain;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 *
 * @TableName announcements
 */
@Data
public class Announcements implements Serializable {
    /**
     *
     */
    private Integer announcementId;

    /**
     *
     */

    private String title;

    /**
     *
     */
    private String content;

    /**
     *
     */
    private Consultants consultants;

    /**
     *
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date publishTime;

    private static final long serialVersionUID = 1L;
}